package cn.lqz.bucttrain.service;

import jakarta.servlet.http.HttpServletResponse;

/**
 * 数据库
 */
public interface DataBaseService {
    /**
     * 数据库备份在服务器上
     * @param folderPath
     */
    void backupServer(String folderPath);

    /**
     * 数据库备份到本地
     * @param httpServletResponse
     */
    void backupLocal(HttpServletResponse httpServletResponse);
}
